﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="keywords" content="源栈-17bang" />
    <meta name="description" content="" />
    <title>@ViewData["Title"] - SourceStack</title>
    <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
    <link rel="stylesheet" href="~/css/site.css" />
    <link rel="shortcut icon" type="image/ico" href="/Images/logo.ico" media="screen" />
    <link rel="stylesheet" href="/css/font-awesome.css" />

</head>
<body>
    <header class="navbar navbar-expand-sm bg-light navbar-light fixed-top container">
        <p class="navbar-text">
            <span><img src="https://17bang.ren/Images/logo-big.ico" /></span>
            <span style="font-size:larger;color:dimgray">一起帮</span>
            <span style="color:gray">.网络互助平台</span>
        </p>

        <div style="border:1px dashed; padding: 5px 10px;">
            @if (ViewData["HasLogOn"] == null)
            {
                <a href="/LogOn?prepage=@Context.Request.Path@Context.Request.QueryString">登录</a><span>|</span><a href="/Register">注册</a>
            }
            else
            {
                <span>已登录</span>
            }
            <a href="/Log/Off">退出登录</a>
        </div>

        <nav class="ml-auto">
            <div>
                <ul class="navbar-nav ">
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
                            <span class="fa fa-question-circle">
                                求助
                            </span>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="https://17bang.ren/Course/Confusion/New">督导班</a>
                            <a class="dropdown-item" href="https://17bang.ren/Problem?excludeCanceled=true&excludeRewarded=true">列表</a>
                            <a class="dropdown-item" href="https://17bang.ren/Course/Confusion/New">疑问发布</a>
                            <a class="dropdown-item" href="https://17bang.ren/Course/Confusion">疑问列表</a>
                            <a class="dropdown-item" href="https://17bang.ren/Problem?excludeCanceled=true&excludeRewarded=true">列表</a>
                            <a class="dropdown-item" href="Problem/New">发布</a>
                        </div>
                    </li>
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
                            <span class="fa fa-eye">
                                督促
                            </span>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="/Plan/New">求督促</a>
                            <a class="dropdown-item" href="/Plan">督促别人</a>
                            <a class="dropdown-item" href="https://17bang.ren/Plan?my=f&full=False&due=False&expire=False&Frozen=False">我的目标</a>
                            <a class="dropdown-item" href="https://17bang.ren/Plan?my=s&full=False&due=False&expire=True&Frozen=False">我的督促</a>
                            <a class="dropdown-item" href="#">未交作业</a>
                        </div>
                    </li>
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
                            <span class="fa fa-pencil-square">
                                文章
                            </span>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="/Article">列表</a>
                            <a class="dropdown-item" href="/Article/_Apply">开通</a>
                        </div>
                    </li>
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
                            <span class="fa fa-user-circle-o">
                                小九
                            </span>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="/Register/">新手任务</a>
                            <a class="dropdown-item" href="/User/Single">我的主页</a>
                            <a class="dropdown-item" href="/FAQ/Bean">帮帮豆：1颗</a>
                            <a class="dropdown-item" href="/Credit">帮帮点：52点</a>
                            <a class="dropdown-item" href="/Money/Owner">帮帮币：1800枚</a>
                            <a class="dropdown-item" href="#">修改</a>
                            <a class="dropdown-item" href="https://17bang.ren/Password/Change?prepage=%2fRegister%2f">我的密码</a>
                            <a class="dropdown-item" href="https://17bang.ren/Contact/New?prepage=%2fRegister%2f">联系方式</a>
                            <a class="dropdown-item" href="https://17bang.ren/Profile/Write?prepage=%2fRegister%2f">个人资料</a>
                            <a class="dropdown-item" href="/Log/Off">退出登录</a>
                        </div>
                    </li>
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
                            <span class="fa fa-database">
                                后台
                            </span>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="/Invite">邀请注册</a>
                            <a class="dropdown-item" href="/Message/Mine">我的消息</a>
                            <a class="dropdown-item" href="/Draft">我的草稿</a>
                            <a class="dropdown-item" href="#">广告推广</a>
                            <a class="dropdown-item" href="https://17bang.ren/AdInContact/Write?prepage=%2fRegister%2f">联系方式</a>
                            <a class="dropdown-item" href="https://17bang.ren/AdInWidget/Write?prepage=%2fRegister%2f">侧边栏</a>
                            <a class="dropdown-item" href="#">帮帮币</a>
                            <a class="dropdown-item" href="https://17bang.ren/MoneyTrade/Market?prepage=%2fRegister%2f">购买</a>
                            <a class="dropdown-item" href="https://17bang.ren/MoneyTrade/Sale?prepage=%2fRegister%2f">出售</a>
                            <a class="dropdown-item" href="https://17bang.ren/MoneyTrade/BuyList">已购买</a>
                            <a class="dropdown-item" href="https://17bang.ren/MoneyTrade/SaleList">已售出</a>
                        </div>
                    </li>
                </ul>
            </div>
        </nav>
    </header>

    <div class="container">
        @RenderBody()
    </div>
    <section>
        @RenderSection("Widgets", false)
    </section>

    <footer>
        <hr />
        <div>
            <a href="https://17bang.ren/About/Us">关于我们</a>
            |
            <a href="https://17bang.ren/Code/479">源栈课堂</a>
            |
            <a href="https://17bang.ren/FAQ">常见问题</a>
            |
            <a href="https://17bang.ren/Suggest">意见建议</a>
            |
            <a href="https://17bang.ren/Notice">历史通知</a>
            |
            <a href="https://17bang.ren/Donate">友情捐赠</a>
            |
            <a href="https://17bang.ren/About/Partner">诚邀合伙人</a><br />
        </div>
        <p class="pull-right">
            <a href="www.miitbegin.gov.cn">渝ICP备18007191号（备案）</a>
            2022-自由
            <img src="/Images/freeflying.ico">
        </p>
    </footer>
    <script src="~/lib/jquery/dist/jquery.min.js"></script>
    <script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
    <script src="~/js/site.js" asp-append-version="true"></script>
</body>
</html>
